package org.bjf.modules.user.bean;

import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

@Data
public class User implements Serializable {

  @TableId
  private Long id;

  private String phone;

  private String password;

  @NotEmpty(message = "name不能为空")
  private String name;

  private Date ctime;

  private Date utime;
}
